package entity

import "time"

const (
	HALL = 100
)

type Building struct {
	RoleID     int32 `gorm:"type:int;primary_key"`
	BuildingID int32 `gorm:"type:int;primary_key"`
	Level      int32
	Seaman     int32
	Coin       int64 // 每秒银币收益
	Captain1   int32
	Captain2   int32
	Captain3   int32
	Captain4   int32
	Captain5   int32
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

func (Building) TableName() string {
	return "buildings"
}
